Skip to content

Closes #8304 Add Grafana stack with Prometheus and Tempo to observability#499

Merged
jamesnetherton merged 2 commits intoapache:mainfrom
jomin7:8304-grafana-to-observability
Apr 30, 2026
Merged

Closes #8304 Add Grafana stack with Prometheus and Tempo to observability#499
jamesnetherton merged 2 commits intoapache:mainfrom
jomin7:8304-grafana-to-observability

Conversation

@jomin7
Copy link
Copy Markdown
Contributor

@jomin7 jomin7 commented Apr 29, 2026

Closes #apache/camel-quarkus#8304 Add Grafana observability stack with Prometheus and Tempo to observability example

Changes:

  • Add docker-compose-grafana.yml with Grafana, Prometheus, and Tempo services
  • Add pre-configured Grafana dashboard showing:
    • Custom application metrics (greeting counters, timer)
    • Camel route metrics (exchanges by route, exchange rates)
    • Distributed tracing with Tempo integration
    • JVM metrics (memory, CPU, GC)
  • Add Prometheus configuration to scrape metrics from the application
  • Add Tempo configuration for OTLP trace ingestion
  • Configure Grafana datasources and dashboard auto-provisioning
  • Expand README with comprehensive documentation:
    • Docker Compose quick start guide
    • Tracing setup for dev mode, Docker Compose, and cloud deployments
    • Dashboard usage and contents overview
  • Configure OTLP endpoint in application.properties for trace export

The observability stack runs with static ports for easy access:

image

Comment thread observability/README.adoc Outdated
[source,shell]
----
# Start the observability stack (Grafana, Prometheus, Tempo)
$ docker-compose -f src/main/docker/docker-compose-grafana.yml up -d
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick - Replace references to docker-compose with docker compose. It's the preferred way of running it now IIRC.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the note. I will update the references from docker-compose to docker compose to align with the current preferred syntax.

@jamesnetherton jamesnetherton merged commit ee87b15 into apache:main Apr 30, 2026
14 checks passed
@jomin7 jomin7 changed the title Add Grafana stack with Prometheus and Tempo to observability Closes #8304 Add Grafana stack with Prometheus and Tempo to observability May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants